from django.db import models

# Create your models here.


class Roster(models.Model):
    name = models.CharField(max_length=20)
    gender = models.BooleanField(default=True)
    mobile = models.CharField(max_length=11)
    address = models.CharField(max_length=100)
    birthday = models.DateField()

    def __str__(self):
        return self.name.encode("utf-8")